home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / Insight / library / SGI_bookshelves / Help / books / WebjumperHelp / styles / tochtml.tv < prev    next >
Encoding:
Text File  |  2001-04-17  |  12.8 KB  |  330 lines

  1. <!--     Silicon Graphics, Inc.
  2.     SGIDOCBK DTD fulltext & TOC stylesheets
  3.     Software Publications
  4.     InSight/DynaText version
  5.     4/16/1999
  6.     last updated by: Adrian Daley (agd@sgi.com)
  7.     IRIS InSight Main TOC Stylesheet
  8.     DynaWeb TOC Stylesheet
  9.     Version 1.0
  10.     Revision Control Version $Revision: 1.4 $
  11. -->
  12.  
  13.  
  14.  
  15. <!ENTITY    lang.charset        CDATA    ""    >
  16. <!ENTITY    frontmatter.text-b4    CDATA    "Front Matter"    >
  17. <!ENTITY    index.text-b4        CDATA    "Index"    >
  18. <!ENTITY    index.text-see        CDATA    "See"    >
  19. <!ENTITY    index.text-seealso    CDATA    "See Also"    >
  20. <!ENTITY    note.text-b4        CDATA    "Note:"    >
  21. <!ENTITY    note-ansi-iso.text-b4    CDATA    "ANSI/ISO:"    >
  22. <!ENTITY    note-openmp.text-b4    CDATA    "OpenMP:"    >
  23. <!ENTITY    warning.text-b4        CDATA    "Warning:"    >
  24. <!ENTITY    caution.text-b4        CDATA    "Caution:"    >
  25. <!ENTITY    danger.text-b4        CDATA    "Danger:"    >
  26. <!ENTITY    table.text-b4        CDATA    "Table"    >
  27. <!ENTITY    example.text-b4        CDATA    "Example"    >
  28. <!ENTITY    figure.text-b4        CDATA    "Figure"    >
  29. <!ENTITY    notices.text-b4        CDATA    "Notices"    >
  30. <!ENTITY    important.text-b4    CDATA    "Important:"    >
  31. <!ENTITY    revision.text-b4    CDATA    "Record of Revision"    >
  32. <!ENTITY    shortcut.text-b4    CDATA    "Shortcut:"    >
  33. <!ENTITY    tip.text-b4        CDATA    "Tip:"    >
  34. <!ENTITY    appendix.text-b4    CDATA    "Appendix"    >
  35. <!ENTITY    chapter.text-b4        CDATA    "Chapter"    >
  36. <!ENTITY    chapter.text-after    CDATA    ""    >
  37. <!ENTITY    footnote.text-b4    CDATA    "Footnote"    >
  38. <!ENTITY    section.text-b4        CDATA    "Section"    >
  39. <!ENTITY    part.text-b4        CDATA    "Part"    >
  40. <!ENTITY    procedure.text-b4    CDATA    "Procedure"    >
  41. <!ENTITY    equation.text-b4    CDATA    "Equation"    >
  42. <!ENTITY    click-here.text-b4    CDATA    "[Click Here]"    >
  43. <!ENTITY    preface.text-b4        CDATA    "Preface"    >
  44. <!ENTITY    glossary.text-b4    CDATA    "Glossary"    >
  45. <!ENTITY    documentnum.text-b4    CDATA    "Document Number"    >
  46. <!ENTITY    contributors.text-b4    CDATA    "Contributors"    >
  47. <!ENTITY    about-guide.text-b4    CDATA    "About This Guide"    >
  48. <!ENTITY    about-manual.text-b4    CDATA    "About This Manual"    >
  49. <!ENTITY    about-document.text-b4    CDATA    "About This Document"    >
  50. <!ENTITY    step.text-b4        CDATA    "step"    >
  51. <!ENTITY    version.text-b4        CDATA    "Version"    >
  52. <!ENTITY    newfeatures.text-b4    CDATA    "New Features"    >
  53. <!ENTITY    contents.text-b4    CDATA    "Contents"    >
  54. <!ENTITY    pubdate.text-b4        CDATA    "Publication Date"    >
  55. <!ENTITY    published.text-b4    CDATA    "Published"    >
  56. <!ENTITY    edition.text-b4        CDATA    "Version"    >
  57. <!ENTITY    figures-list.text-b4    CDATA    "List of Figures"    >
  58. <!ENTITY    procedures-list.text-b4    CDATA    "List of Procedures"    >
  59. <!ENTITY    tables-list.text-b4    CDATA    "List of Tables"    >
  60. <!ENTITY    examples-list.text-b4    CDATA    "List of Examples"    >
  61. <!ENTITY    media-list.text-b4    CDATA    "List of Media"    >
  62.  
  63.  
  64.  
  65. <!ENTITY    body.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,new century schoolbook)" >
  66. <!ENTITY    titles.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,helvetica)"    >
  67.  
  68.  
  69. <!ENTITY    body.font-size        CDATA    "12"    >
  70. <!ENTITY    body.line-spacing    CDATA    "14"    >
  71. <!ENTITY    body.left-indent    CDATA    "48"    >
  72. <!ENTITY    body.right-indent    CDATA    "10"    >
  73.  
  74. <!ENTITY    float.space-before    CDATA    "if(ancestor(me(),para,1),8,0)" >
  75. <!ENTITY    float.space-after    CDATA    "if(eq(rsibling(),0),0,8)" >
  76. <!ENTITY    big-float.space-after    CDATA    "if(eq(rsibling(),0),0,17)" >
  77.  
  78. <!ENTITY    smaller.font-size    CDATA    "-=2"    >
  79. <!ENTITY    italic.font-slant    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,Italics)"    >
  80. <!ENTITY    super.vertical-offset    CDATA    "4"    >
  81. <!ENTITY    sub.vertical-offset    CDATA    "-3"    >
  82.  
  83. <!ENTITY    titles.foreground    CDATA    "if(env(INSIGHT_FG),env(INSIGHT_FG),Black)"    >
  84. <!ENTITY    titles.space-after    CDATA    "8"    >
  85. <!ENTITY    titles.left-indent    CDATA    "0"    >
  86. <!ENTITY    font-weight.bold    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,Medium,ko_KR.euc,Medium,zh_CN.ugb,Medium,zh_TW.ucns,Medium,zh_TW.big5,Medium,DEFAULT,Bold)"    >
  87. <!ENTITY    font-weight.medium    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,Medium,ko_KR.euc,Medium,zh_CN.ugb,Medium,zh_TW.ucns,Medium,zh_TW.big5,Medium,DEFAULT,Medium)"   >
  88. <!ENTITY    command-font        CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,courier)"    >
  89.  
  90. <!ENTITY    font-slant.roman    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,Roman)"    >
  91. <!ENTITY    font-slant.italics    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,Italics)"    >
  92.  
  93. <!ENTITY    titles-b.font-size    CDATA    "14"    >
  94. <!ENTITY    titles-d.font-size    CDATA    "12"    >
  95. <!ENTITY    titles-b.line-spacing    CDATA    "22"    >
  96. <!ENTITY    titles-d.line-spacing    CDATA    "17"    >
  97.  
  98. <!ENTITY    basic.left-indent    CDATA    "+=15"    >
  99. <!ENTITY    hanging.first-indent    CDATA    "-15"    >
  100.  
  101. <!ENTITY    number.parent-text    CDATA    "if(ancestor(CHAPTER),gcnum(ancestor(CHAPTER))-,if(ancestor(APPENDIX),format(gcnum(ancestor(APPENDIX)),LETTER2)-,if(ancestor(GLOSSARY),Gl-,)))if(or(ancestor(PREFACE),ancestor(BOOKINFO)),format(gcnum(me()),roman),gcnum(me()))"    >
  102. <!ENTITY    number.title-text    CDATA    "if(ancestor(CHAPTER),gcnum(ancestor(CHAPTER))-,if(ancestor(APPENDIX),format(gcnum(ancestor(APPENDIX)),LETTER2)-,if(ancestor(GLOSSARY),Gl-,)))if(or(ancestor(PREFACE),ancestor(BOOKINFO)),format(gcnum(ancestor(me())),roman),gcnum(ancestor(me())))"    >
  103. <!ENTITY    number.table-title-text    CDATA    "if(ancestor(CHAPTER),gcnum(ancestor(CHAPTER))-,if(ancestor(APPENDIX),format(gcnum(ancestor(APPENDIX)),LETTER2)-,if(ancestor(GLOSSARY),Gl-,)))if(or(ancestor(PREFACE),ancestor(BOOKINFO)),format(gcnum(me()),roman),gcnum(me()))"    >
  104. <!ENTITY    classcode108    CDATA    "eq(content(typechild('CLASSCODE',typechild('PARTNUMBER',typechild('BOOKBIBLIO',typechild('BOOKINFO',typechild('BOOK',ancestor(SGIDOCBK))))))),'108')"    >
  105. <!ENTITY    numheads    CDATA    "eq(attr(NUMHEADS,ancestor(SGIDOCBK)),Y)"    >
  106. <!ENTITY    add.left-indent        CDATA    "+=20"    >
  107.  
  108. <sheet>
  109.  
  110. <group name="H1">
  111.     <font-weight>    &font-weight.bold;    </>
  112.     <space-before>    8    </>
  113. </group>
  114.  
  115.  
  116. <group name="H1.TEXT-BEFORE">
  117.     <font-weight>    &font-weight.medium;    </>
  118.     <font-slant>    &italic.font-slant;    </>
  119.     <break-before>    Line            </>
  120.     <break-after>    Line            </>
  121.     <space-after>    4            </>
  122. </group>
  123.  
  124. <group name="H2">
  125.     <left-indent>    &basic.left-indent;    </>
  126.     <first-indent>    &hanging.first-indent;    </>
  127.     <break-before>    Line            </>
  128.     <space-after>    4            </>
  129. </group>
  130.  
  131. <group name="H3">
  132.     <left-indent>    &basic.left-indent;    </>
  133.     <first-indent>    &hanging.first-indent;    </>
  134.     <break-before>    Line            </>
  135.     <space-after>    4            </>
  136. </group>
  137.  
  138. <group name="H4">
  139.     <left-indent>    &basic.left-indent;    </>
  140.     <first-indent>    &hanging.first-indent;    </>
  141.     <break-before>    Line            </>
  142.     <space-after>    4            </>
  143. </group>
  144.  
  145. <group name="H5">
  146.     <left-indent>    &basic.left-indent;    </>
  147.     <first-indent>    &hanging.first-indent;    </>
  148.     <break-before>    Line            </>
  149.     <space-after>    4            </>
  150. </group>
  151.  
  152. <group name="H6">
  153.     <left-indent>    &basic.left-indent;    </>
  154.     <first-indent>    &hanging.first-indent;    </>
  155.     <break-before>    Line            </>
  156.     <space-after>    4            </>
  157. </group>
  158.  
  159. <group name="CAPTION">
  160.     <left-indent>    110    </>
  161.     <first-indent>    -85    </>
  162.     <space-before>    2    </>
  163.     <space-after>    2    </>
  164.     <justification>    Left    </>
  165.     <break-before>    Line    </>
  166. </group>
  167.  
  168. <group name="CAPTION.TEXT-BEFORE">
  169.     <font-weight>    &font-weight.bold;    </>
  170. </group>
  171.  
  172.  
  173. <style name="SGIDOCBK"></style>
  174. <style name="BOOK">
  175.     <font-family>    &titles.font-family;    </>
  176.     <foreground>    &titles.foreground;    </>
  177.     <font-size>    &titles-d.font-size;    </>
  178.     <line-spacing>    15            </>
  179.     <space-before>    4            </>
  180.     <title-tag>    BOOKINFO,BOOKBIBLIO,TITLE    </>
  181. </style>
  182.  
  183. <style name="BOOK,#TEXT-BEFORE" group="H1">
  184.     <font-size>    &titles-b.font-size;    </>
  185.     <font-weight>    &font-weight.bold;    </>
  186.     <space-before>    8            </>
  187.     <break-after>    Line            </>
  188. </style>
  189.  
  190. <style name="BOOKINFO,BOOKBIBLIO,TITLE" group="H1">
  191.     <font-size>    &titles-b.font-size;    </>
  192.     <font-weight>    &font-weight.bold;    </>
  193.     <space-before>    8            </>
  194.     <break-after>    Line            </>
  195. </style>
  196.  
  197.  
  198. <!-- Default settings for SDATA entities from our entity sets -->
  199. <style name="#SDATA">
  200.     <character-set>    attr(charset)    </>
  201.     <text-before>gamut(attr(name),'trade  mdash  bull','(TM)   --  *',join('&',attr(name),';'))</>
  202. </style>
  203.  
  204. <style name="#TAGS">
  205.     <font-weight>    &font-weight.bold;    </>
  206. </style>
  207.  
  208. <!-- Style"#toc-annot" is reserved, and defines the appearance of the
  209.      bookmarks, word frequencies, location markers, etc. in left margin. -->
  210. <style name="#TOC-ANNOT">
  211.     <font-family>    &command-font;    </>
  212.     <font-weight>    &font-weight.bold;    </>
  213.     <font-size>    12    </>
  214.     <foreground>    magenta    </>
  215. </style>
  216.  
  217. <!-- Make sure index terms don't appear in the title -->
  218. <style name="INDEXTERM">
  219.     <hide>    All    </>
  220. </style>
  221.  
  222. <style name="COMMENT">
  223.     <hide>    All    </>
  224. </style>
  225.  
  226. <style name="SUBSCRIPT">
  227.     <font-size>    &smaller.font-size;    </>
  228.     <vertical-offset>    &sub.vertical-offset;    </>
  229. </style>
  230.  
  231. <style name="SUPERSCRIPT">
  232.     <font-size>    &smaller.font-size;    </>
  233.     <vertical-offset>    &super.vertical-offset;    </>
  234. </style>
  235.  
  236. <group name="TOC">
  237.     <left-indent>    &basic.left-indent;    </>
  238.     <title-tag>    TITLE            </>
  239.     <space-after>    4            </>
  240. </group>
  241.  
  242. <style name="PREFACE" group="TOC"></style>
  243. <style name="PART" group="TOC"></style>
  244. <style name="CHAPTER" group="TOC"></style>
  245. <style name="SECTION" group="TOC"></style>
  246. <style name="APPENDIX" group="TOC"></style>
  247. <style name="GLOSSARY" group="TOC">
  248.     <title-tag>    if(typechild(TITLE,me()),TITLE,#TEXT-BEFORE)    </>
  249.     <text-before>    if(typechild(TITLE,me()),,&glossary.text-b4;)    </>
  250.     <space-before>    if(typechild(TITLE,me()),,8)    </>
  251. </style>
  252.  
  253. <style name="BOOKINFO" group="TOC">
  254.     <left-indent>    30    </>
  255.     <break-before>    Line    </>
  256.     <title-tag>    #TEXT-BEFORE    </>
  257.     <text-before>&frontmatter.text-b4;</>
  258. </style>
  259.  
  260. <style name="INDEX" group="TOC">
  261.     <title-tag>    if(typechild(TITLE,me()),TITLE,#TEXT-BEFORE)    </>
  262.     <text-before>    if(typechild(TITLE,me()),,&index.text-b4;)    </>
  263.     <space-before>    if(typechild(TITLE,me()),,8)    </>
  264. </style>
  265.  
  266. <style name="GLOSSARY,TITLE" group="H1"></style>
  267. <style name="GLOSSARY,#TEXT-BEFORE" group="H1"></style>
  268.  
  269. <style name="INDEX,TITLE" group="H1"></style>
  270. <style name="INDEX,#TEXT-BEFORE" group="H1"></style>
  271.  
  272. <style name="PART,TITLE" group="H1">
  273.     <text-before>&part.text-b4; format(gcnum(ancestor(part)),ROMAN) </>
  274. </style>
  275.  
  276. <style name="PART,TITLE,#TEXT-BEFORE" group="H1.TEXT-BEFORE"></style>
  277.  
  278. <style name="PREFACE,TITLE" group="H1"></style>
  279.  
  280. <style name="CHAPTER,TITLE" group="H1">
  281.     <text-before>&chapter.text-b4; gcnum(ancestor(chapter))&chapter.text-after; </>
  282. </style>
  283.  
  284. <style name="CHAPTER,TITLE,#TEXT-BEFORE" group="H1.TEXT-BEFORE"></style>
  285.  
  286. <style name="CHAPTER,SECTION,TITLE" group="H2">
  287.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(section))'  ',)</>
  288. </style>
  289. <style name="CHAPTER,SECTION,SECTION,TITLE" group="H3">
  290.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  291. </style>
  292. <style name="CHAPTER,SECTION,SECTION,SECTION,TITLE" group="H4">
  293.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  294. </style>
  295. <style name="CHAPTER,SECTION,SECTION,SECTION,SECTION,TITLE" group="H5">
  296.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  297. </style>
  298. <style name="CHAPTER,SECTION,SECTION,SECTION,SECTION,SECTION,TITLE" group="H6">
  299.         <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,5)).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  300. </style>
  301.  
  302. <style name="APPENDIX,TITLE" group="H1">
  303.     <text-before>&appendix.text-b4; format(gcnum(ancestor(appendix)),LETTER) </>
  304. </style>
  305.  
  306. <style name="APPENDIX,TITLE,#TEXT-BEFORE" group="H1.TEXT-BEFORE"></style>
  307.  
  308. <style name="APPENDIX,SECTION,TITLE" group="H2">
  309.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(section))'  ',)</>
  310. </style>
  311. <style name="APPENDIX,SECTION,SECTION,TITLE" group="H3">
  312.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  313. </style>
  314. <style name="APPENDIX,SECTION,SECTION,SECTION,TITLE" group="H4">
  315.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  316. </style>
  317. <style name="APPENDIX,SECTION,SECTION,SECTION,SECTION,TITLE" group="H5">
  318.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  319. </style>
  320. <style name="APPENDIX,SECTION,SECTION,SECTION,SECTION,SECTION,TITLE" group="H6">
  321.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,5)).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  322. </style>
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. </sheet>
  330.